package syntaxTree.formalRest;

import syntaxTree.id.id;
import syntaxTree.type.type;

public class formalRestApp extends formalRest{		//-> ,Type id
	type t;
	id id;
	formalRest fr;
	public formalRestApp(type t, id id)
	{
		this.t = t;
		this.id = id;	
		this.fr = new formalRestInit();
	}
	public formalRestApp(type t, id id, formalRest fr)
	{
		this.t = t;
		this.id = id;
		this.fr = fr;
	}
	public String toString()
	{
		return (t.toString()+' '+id.toString()+' '+fr.toString());
	}
	public String toC()
	{
		return (t.toC()+' '+id.toC()+' '+fr.toC());
	}
}
